﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Zeenck.Models
{
    public class ResetPassword
    {
        #region Properties

        [HiddenInput(DisplayValue = false)]
        public String ConfirmationCode { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [DisplayName("New Password")]
        public String NewPassword { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [DisplayName("Re-Type Password")]
        [Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
        public String ConfirmPassword { get; set; }

        #endregion Properties
    }
}